home *** CD-ROM | disk | FTP | other *** search
/ MacTech 1 to 12 / MacTech-vol-1-12.toast / Source / MacTech® Magazine / Volume 06 - 1990 / 06.05 May 90 / PrintWindow Code / MyWindow.h < prev    next >
Encoding:
Text File  |  1990-02-13  |  815 b   |  29 lines  |  [TEXT/KAHL]

  1. /* ===================================
  2.  
  3. File: MyWindow.h
  4. Function: Header for this window
  5. History: 2/13/90 Original by Prototyper.  
  6.  
  7. ================================= */
  8.  
  9.  
  10. /* Initialize us so all our routines can be activated */
  11. extern  void  Init_MyWindow(void);
  12.  
  13. /* Close our window */
  14. extern  void  Close_MyWindow(WindowPtr  whichWindow, TEHandle *theInput);
  15.  
  16. /* Open our window and draw everything */
  17. extern  void  Open_MyWindow(TEHandle *theInput);
  18.  
  19. /* Update our window, someone uncovered a part of us */
  20. extern  void  UpDate_MyWindow(WindowPtr  whichWindow);
  21.  
  22. /*  Handle action to our window, like controls  */
  23. extern  void  Do_MyWindow(EventRecord  *myEvent, TEHandle  *theInput);
  24.  
  25.  
  26. /*  Do window resizing, resize the scrollbars  */
  27. extern  void  Resized_MyWindow(Rect  *OldRect, WindowPtr  whichWindow);
  28.  
  29.